package ${package}<#if moduleName??>.${moduleName}</#if>.service.impl<#if subModuleName??>.${subModuleName}</#if>;

import org.springframework.stereotype.Service;
import org.springframework.aop.framework.AopContext;

import com.alibaba.fastjson.JSONObject;

import com.xisoft.core.product.params.*;
import com.xisoft.core.product.utils.PubResult;
import com.xisoft.core.product.action.SuperAction;
import com.xisoft.core.product.handle.HandlerConfigChain;

import ${package}<#if moduleName??>.${moduleName}</#if>.service<#if subModuleName??>.${subModuleName}</#if>.${className}Service;

/**
* 自动生成：${tableComments}ServiceImpl
* @author 作者：👨🏻${author} 📧${email} ☎13121055201
* @description 类描述：${tableComments}
* @create 创建时间：${date}
* @update 修改时间：${date}
* @since ${version}
*/
@Service("${className}ServiceImpl")
public class ${className}ServiceImpl extends SuperAction implements ${className}Service{

    /************************************************************* <br>
     *说明: 加载配置<br>
     * @date Created on ${date} <br>
     * @param handler <br>
     * @return void  <br>
     * @author ${author}
     * @version ${version} <br>
     ************************************************************* <br>
     */
    @Override public void handler(HandlerConfigChain handler) throws Exception
    { super.handler(handler); }

    /************************************************************* <br>
     *说明: 初始化配置<br>
     * @date Created on ${date} <br>
     * @param config <br>
     * @return void  <br>
     * @author ${author}
     * @version ${version} <br>
     ************************************************************* <br>
     */
    @Override public void initConfig(Config config) throws Exception
    {super.initConfig(config); }

    /************************************************************* <br>
     *说明: 初始化查询<br>
     * @date Created on ${date} <br>
     * @param query <br>
     * @return void  <br>
     * @author ${author}
     * @version ${version} <br>
     ************************************************************* <br>
     */
    @Override public void initQuery(Query query) throws Exception
    {super.initQuery(query); }

    @Override public PubResult billSave(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billSave(json); }
    
    @Override public PubResult billDelete(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billDelete(json); }
    
    @Override public PubResult billUpdate(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billUpdate(json); }
    
    @Override public PubResult billConfig(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billConfig(json); }
    
    @Override public PubResult billQuery(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billQuery(json); }
    
    @Override public PubResult billDataSource(JSONObject json) throws Exception
    { return ((SuperAction) AopContext.currentProxy()).billDataSource(json); }

}
